Waveform generation circuit

ABSTRACT

A waveform generation circuit includes: a waveform generation block configured to generate a waveform signal corresponding to a driving control signal; and a control signal generation block configured to generate a driving control signal for compensating the waveform signal for an environmental factor reflected into the waveform generation circuit.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application claims priority of Korean Patent Application No. 10-2009-0130238, filed on Dec. 23, 2009, which is incorporated herein by reference in its entirety.

TECHNICAL FIELD

Exemplary embodiments of the present invention relates to a technology for designing a semiconductor; and, more particularly, to a waveform generation circuit for generating a predetermined waveform.

BACKGROUND OF RELATED ART

In general, diverse circuits for performing diverse operations are provided inside of a semiconductor memory device, including a double data rate synchronous Dynamic Random Access Memory (DDR SDRAM) device. Among the circuits is a waveform generation circuit which generates a predetermined waveform. Examples of waveforms generated in a waveform generation circuit include sine waves, square waves, ramp waves, pyramidal waves, sawtooth waves and the like.

FIG. 1 is circuit diagram describing a general sawtooth wave generation circuit. Referring to FIG. 1, a sawtooth wave generation circuit includes a current source IS for generating a reference current I_REF, a capacitor C for being charged with the reference current I_REF, and an NMOS transistor NM for discharging capacitor C to a discharge terminal V_GND by being turned on in response to a pulse signal PUL.

FIG. 2 is a waveform diagram describing a circuit operation of the sawtooth wave generation circuit shown in FIG. 1.

Referring to FIGS. 1 and 2, a pulse signal PUL is a signal having a short pulse width and a predetermined period T. The NMOS transistor NM is turned on according to the period T. First, when the NMOS transistor NM is turned off, the capacitor C is charged with the reference current I_REF, and the slope of a sawtooth waveform signal S_OUT is determined based on the extent of charging. FIG. 2 shows a sawtooth waveform signal S_OUT generated when the waveform generation circuit of FIG. 1 operates as intended. Herein, the slope of the sawtooth waveform signal S_OUT is defined by the reference current I_REF and a capacitance of the capacitor C. Subsequently, when the NMOS transistor NM is turned on, the capacitor C is discharged to terminal V_GND.

However, it is substantially difficult to realize the desirable sawtooth waveform signal S_OUT in a conventional circuit structure. This is because the environmental factors reflected in the waveform generation circuit, such as, a process, a power source voltage, temperature and so forth, may be different, and these factors affect the slope of the sawtooth waveform signal S_OUT. For instance, when the amount of the reference current I_REF is changed according to the environmental factors reflected in a circuit, when the capacitance of the capacitor C is changed, when the size of parasitic capacitance of the NMOS transistor NM is changed, the target waveform and slope of a sawtooth waveform signal S_OUT may be changed. After all, the sawtooth waveform signal S_OUT does not maintain a uniform slope due to the environmental factors reflected in the circuit.

Sawtooth waveform signals S_OUT are usually used in circuits that are controlled in analog. In such circuits, the slope of the sawtooth waveform signals S_OUT is determined to achieve a particular result and when the waveform changes from the desired slope, the result cannot be achieved. Therefore, it is required to develop a circuit that can generate sawtooth waveform signals S_OUT having a uniform slope all the time in order to acquire the resultant object of a desired waveform.

SUMMARY OF DISCLOSURE

An embodiment of the present invention is directed to a waveform generation circuit that can compensate a waveform signal for environmental factors by reflecting the environmental factors in a circuit that finally generates the waveform signal.

Another embodiment of the present invention is directed to a waveform generation circuit that receives feedback from the finally generated waveform, compares the fed back waveform with a reference voltage, and controls a waveform signal based on a comparison result.

Another embodiment of the present invention is directed to a waveform generation circuit which generates waveform signals by varying a weight reflected into a driving control signal according to the initial operation period and a normal operation period.

Other objects and advantages of the present invention can be understood by the following description, and become apparent with reference to the embodiments of the present invention. Also, it is obvious to those skilled in the art to which the present invention pertains that the objects and advantages of the present invention can be realized by the means as claimed and combinations thereof.

In accordance with an embodiment of the present invention, a waveform generation circuit includes: a waveform generation block configured to generate a waveform signal corresponding to a driving control signal; and a control signal generation block configured to generate a driving control signal for compensating the waveform signal for an environmental factor reflected into the waveform generation circuit.

In accordance with another embodiment of the present invention, a waveform generation circuit includes: a waveform generation block configured to generate a waveform signal corresponding to a driving current; a voltage comparison block configured to compare a voltage level of the waveform signal with a reference voltage defined based on a target voltage level of the waveform signal; and a driving current control block configured to generate a driving control signal corresponding to an output signal of the voltage comparison block and control the driving current based on the driving control signal.

In accordance with another embodiment of the present invention, a waveform generation circuit includes: a waveform generation block configured to generate a waveform signal corresponding to a driving control signal; a comparison signal generation block configured to generate a comparison signal by comparing a voltage level of the waveform signal with a reference voltage defined based on a target voltage level of the waveform signal; a code signal generation block configured to generate a code signal reflecting a weight corresponding to an initial operation period or a normal operation period in response to the comparison signal; and a control signal generation block configured to generate the driving control signal corresponding to the code signal.

When a waveform signal of a predetermined waveform is generated according to one embodiment of the present invention, it is possible to compensate the waveform signal for environmental factors that are reflected into a circuit. To be specific, a waveform signal of a desired waveform may be generated by receiving a feed back on a finally generated waveform signal, comparing the received waveform signal with a reference voltage, and varying a driving control signal used to generate a waveform signal based on the comparison result. Subsequently, it is possible to changing the weight of the driving control signal according to the initial operation period and a normal operation period to increase the operation efficiency in one embodiment of the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is circuit diagram describing a general sawtooth wave generation circuit;

FIG. 2 is a waveform diagram describing a circuit operation of the sawtooth wave generation circuit shown in FIG. 1;

FIG. 3 is a circuit diagram describing a waveform generation circuit in accordance with an embodiment of the present invention;

FIG. 4 is a circuit diagram describing a waveform generation circuit in accordance with another embodiment of the present invention;

FIGS. 5 and 6 are waveform diagrams describing brief operations of the waveform generation circuit shown in FIG. 4;

FIG. 7 is circuit diagram describing a waveform generation circuit in accordance with yet another embodiment of the present invention;

FIG. 8 illustrates a voltage dividing unit 741 shown in FIG. 7;

FIG. 9 is a timing diagram describing a circuit operation of an up/down counter 731_3 shown in FIG. 7;

FIG. 10 is a waveform diagram describing a counting operation in the initial operation period and a normal operation period of the waveform generation circuit shown in FIG. 7;

FIG. 11 is a substantial timing diagram describing the initial operation period according to the structure illustrated in FIG. 7;

FIG. 12 is a timing diagram describing a normal operation period according to the structure illustrated in FIG. 7; and

FIG. 13 is a schematic diagram illustrating a waveform generation block 710 shown in FIG. 7.

DETAIL DESCRIPTION OF SEVERAL EMBODIMENTS

Exemplary embodiments of the present invention will be described below in more detail with reference to the accompanying drawings. The present invention may, however, be embodied in different forms and should not be constructed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the present invention to those skilled in the art. Throughout the disclosure, like reference numerals refer to like parts throughout the various figures and embodiments of the present invention. The drawings are not necessarily to scale and in some instances, proportions may have been exaggerated in order to clearly illustrate features of the embodiments. When a first layer is referred to as being “on” a second layer or “on” a substrate, it not only refers to a case where the first layer is formed directly on the second layer or the substrate but also a case where a third layer exists between the first layer and the second layer or the substrate.

FIG. 3 is a circuit diagram describing a waveform generation circuit in accordance with an embodiment of the present invention.

Referring to FIG. 3, a waveform generation circuit includes a waveform generation block 310 and a control signal generation block 320.

The waveform generation block 310 generates a sawtooth waveform signal S_OUT in response to a driving control signal CTR, and the waveform generation block 310 includes a variable current generation unit IS for generating a current in response to the driving control signal CTR, a charging unit C for being charged with the current generated in the variable current generation unit IS, which will be referred to as a driving current hereafter, and a discharging unit NM for discharging the charging unit C periodically. Herein, the variable current generation unit IS may be formed of a current source connected between a power source voltage terminal VDD and an output terminal outputting the sawtooth waveform signal S_OUT. The charging unit C may be formed of a capacitor connected between the output terminal and a discharge terminal V_GND. The discharging unit NM may be formed of an NMOS transistor which has a source-drain path between the output terminal and the discharge terminal V_GND and receives a pulse signal PUL through a gate. Hereafter, the same reference numerals will be given to the same corresponding constituent elements.

The control signal generation block 320 compensates the sawtooth waveform signal S_OUT for environmental factors. The waveform generation circuit fabricated according to one embodiment of the present invention features receiving feedback on the sawtooth waveform signal S_OUT in order to adjust for environmental factors affecting the sawtooth waveform signal S_OUT.

Hereafter, an operation of the waveform generation block 310 will be briefly described. Herein, a pulse signal PUL is a signal having a short pulse width and a predetermined period T, and an NMOS transistor NM is turned on based on the period T. First of all, when the NMOS transistor NM is turned off, a capacitor C is charged with charges corresponding to a driving current. The slope of the sawtooth waveform signal S_OUT is determined based on the extent of the charging. In this embodiment of the present invention, the amount of driving current is controlled by a driving control signal CTR. In other words, the sawtooth waveform signal S_OUT has a slope corresponding to the driving control signal CTR. Meanwhile, when the NMOS transistor NM is turned on, charges on the capacitor C are discharged to terminal V_GND.

Although it will be described again later on, this embodiment of the present invention receives feedback from the sawtooth waveform signal S_OUT and performs a compensation operation. Therefore, although the amount of reference current I_REF may be changed according to the environmental factors; the amount of the capacitor C may be changed; and/or the size of a parasitic capacitance of the NMOS transistor NM may be changed, it is possible to generate sawtooth waveform signals S_OUT of a uniform slope all the time.

FIG. 4 is a circuit diagram describing a waveform generation circuit in accordance with another embodiment of the present invention.

Referring to FIG. 4, the waveform generation circuit includes a waveform generation block 410, a voltage comparison block 420, and a driving current control block 430. The waveform generation block 410 has the same structure as the waveform generation block 310 shown in FIG. 3, and it generates a sawtooth waveform signal S_OUT in response to a driving current.

The voltage comparison block 420 compares the levels of a first reference voltage VL_REF and a second reference voltage VH_REF defined in response to a target voltage level of the sawtooth waveform signal S_OUT with the voltage level of the sawtooth waveform signal S_OUT, and the voltage comparison block 420 includes a first voltage comparison unit 421 and a second voltage comparison unit 422. Herein, the first voltage comparison unit 421 compares the voltage level of the sawtooth waveform signal S_OUT with the first reference voltage VL_REF to thereby output a first comparison signal VL_OUT, and the second voltage comparison unit 422 compares the voltage level of the sawtooth waveform signal S_OUT with the second reference voltage VH_REF to thereby output a second comparison signal VH_OUT. Herein, the output forms of the first comparison signal VL_OUT and the second, comparison signal VH_OUT may be different, e.g., an analog type or a digital type, according to the circuit structures of the first voltage comparison unit 421 and the second voltage comparison unit 422.

Subsequently, the driving current control block 430 generates a driving control signal CTR corresponding to the first comparison signal VL_OUT and the second comparison signal VH_OUT which are outputted from the voltage comparison block 420, and controls the driving current of the waveform generation block 410 with the driving control signal CTR. Herein, the voltage level of the driving control signal CTR may be varied based on the first comparison signal VL_OUT and the second comparison signal VH_OUT. In other words, the voltage level of the driving control signal CTR may be varied into a high voltage level in response to the first comparison signal VL_OUT, and it may be varied into a low voltage level in response to the second comparison signal VH_OUT.

In short, the waveform generation circuit fabricated in accordance with this embodiment compares the voltage level of the sawtooth waveform signal S_OUT with the first reference voltage VL_REF and the second reference voltage VH_REF, varies the voltage level of the driving control signal CTR based on the comparison result, and thereby controls the driving current flowing through an current source IS of the waveform generation block 410. The driving current being controlled means that the amount of the driving current is changed, and this signifies that the slope of the sawtooth waveform signal S_OUT may be varied.

FIGS. 5 and 6 are waveform diagrams briefly describing operations of the waveform generation circuit shown in FIG. 4. Herein, the highest voltage level of the sawtooth waveform signal S_OUT after a compensation operation corresponds to a target voltage level. In other words, the first reference voltage VL_REF and the second reference voltage VH_REF already reflect an operation margin in their target voltage level. The first reference voltage VL_REF has a lower voltage level than the target voltage level, while the second reference voltage VH_REF has a higher voltage level than the target voltage level.

FIG. 5 is a waveform diagram when the slope of a sawtooth waveform signal S_OUT is greater than a target slope.

Referring to FIG. 5, when the slope of the sawtooth waveform signal S_OUT is greater than the target slope, the highest voltage level of the sawtooth waveform signal S_OUT becomes higher than the target voltage level. In short, when the slope of the sawtooth waveform signal S_OUT is greater than the target. slope, the voltage level is higher than the second reference voltage VH_REF. Herein, the first comparison signal VL_OUT and the second comparison signal VH_OUT come to have pulse width corresponding to the voltage level of the sawtooth waveform signal S_OUT based on the first reference voltage VL_REF and the second reference voltage VH_REF, respectively, and the driving current control block 430 generates a driving control signal CTR based on the first comparison signal VL_OUT and the second comparison signal VH_OUT with the pulse width. Subsequently, the driving current of the waveform generation block 410 is controlled based on the driving control signal CTR, and the sawtooth waveform signal S_OUT comes to have a slope corresponding to the target voltage level existing between the first reference voltage VL_REF and the second reference voltage VH_REF.

FIG. 6 is a waveform diagram when the slope of a sawtooth waveform signal S_OUT is smaller than a target slope.

Referring to FIG. 6, when the slope of the sawtooth waveform signal S_OUT is smaller than the target slope, the highest voltage level of the sawtooth waveform signal S_OUT becomes lower than the target voltage level. In short, when the slope of the sawtooth waveform signal S_OUT is lower than the target slope, the voltage level is lower than the first reference voltage VL_REF. Herein, the first comparison signal VL_OUT comes to have pulse width corresponding to the first reference voltage VL_REF, and a driving control signal CTR is controlled accordingly. Subsequently, the driving current of the waveform generation block 410 is controlled based on the driving control signal CTR, and the sawtooth waveform signal S_OUT comes to have a slope corresponding to the target voltage level.

In other words, the current amount of the driving current is determined based on the first comparison signal VL_OUT and the second comparison signal VH_OUT. Subsequently, the voltage level of the sawtooth waveform signal S_OUT is determined based on the current amount of the driving current, and this signifies that the slope of the sawtooth waveform signal S_OUT is determined. After all, the waveform generation circuit fabricated in accordance with this embodiment can maintain sawtooth waveform signals S_OUT of a uniform slope based on the target voltage level corresponding to the first reference voltage VL_REF and the second reference voltage VH_REF.

FIG. 7 is circuit diagram describing a waveform generation circuit in accordance with yet another embodiment of the present invention.

Referring to FIG. 7, the waveform generation circuit includes a waveform generation block 710, a comparison signal generation block 720, a code signal generation block 730, a control signal generation block 740, and a pulse generation block 750. The waveform generation block 710 performs the same operation as the waveform generation blocks shown in FIGS. 3 and 4, and it generates a sawtooth waveform signal S_OUT based on a driving current in response to a driving control signal CTR. In this embodiment of FIG. 7, the waveform generation block 710 performs different operations in the initial operation period and a normal operation period. Herein, the initial operation period is an operation period before the normal operation period. Although it will be described again later on, it is possible to quickly form a sawtooth waveform signal S_OUT in a desired waveform through a quick control operation in the initial operation period, and to continuously maintain the sawtooth waveform signal S_OUT formed in the desired waveform through a delicate control operation in the normal operation period.

The comparison signal generation block 720 compares the voltage level of the sawtooth waveform signal S_OUT with a first reference voltage VL_REF and a second reference voltage VH_REF which are defined corresponding to a target voltage level of the sawtooth waveform signal S_OUT and generates a first comparison signal VL_OUT and a second comparison signal VH_OUT. The comparison signal generation block 720 includes a first voltage comparison unit 721 and a second voltage comparison unit 722.

Herein, the first voltage comparison unit 721 compares the voltage level of the sawtooth waveform signal S_OUT with the first reference voltage VL_REF to thereby generate a first comparison signal VL_OUT, and the second voltage comparison unit 722 compares the voltage level of the sawtooth waveform signal S_OUT with the second reference voltage VH_REF, which is higher than the first reference voltage VL_REF, to thereby generate a second comparison signal VH_OUT. Herein, since the second reference voltage VH_REF is inputted into a positive (+) terminal of the second voltage comparison unit 722 in the second voltage comparison unit 722, the second comparison signal VH_OUT is outputted as a signal whose waveform is inverted to the waveform illustrated in FIGS. 5 and 6.

The code signal generation block 730 generates a code signal REF_SEL<M:0> (where M is a natural number) with a weight corresponding to the initial operation period or the normal operation period already reflected thereinto in response to the first comparison signal VL_OUT and the second comparison signal VH_OUT. The code signal generation block 730 includes a first counting unit 731, a second counting unit 732, and a selection output unit 733.

The first counting unit 731 outputs a normal operation counting value NOR_CNT<M:0> through a counting operation with a first weight reflected thereinto in response to the first comparison signal VL_OUT in the normal operation period. The second counting unit 732 outputs an initial operation counting value INT_CNT<M:0> through a counting operation with a second weight reflected thereinto in response to the second comparison signal VH_OUT in the initial operation period. Herein, the second weight is greater than the first weight. For example, when a value is counted and there are two cases that the least counting unit is ‘1’ and that the least counting unit is ‘5,’ the least counting unit ‘1’ becomes the first weight while the least counting unit ‘5’ becomes the second weight. Subsequently, the selection output unit 733 outputs the initial operation counting value INT_CNT<M:0> and the normal operation counting value NOR_CNT<M:0> as a code signal REF_SEL<M:0> in the initial operation period and the normal operation period, respectively. The selection output unit 733 receives a mode selection signal MOD_SEL which is defined according to an initial operation period or a normal operation period. For example, when the mode selection signal MOD_SEL is a logic low, the initial operation counting value INT_CNT<M:0> is outputted as the code signal REF_SEL<M:0>. When the mode selection signal MOD_SEL is a logic high, the normal operation counting value NOR_CNT<M:0> is outputted as the code signal REF_SEL<M:0>.

Hereafter, blocks constituting the code signal generation block 730 will be described in detail.

First of all, the first counting unit 731 performs a counting operation with the first weight during a normal operation and it includes a first latch 731_1, a second latch 731_2, and an up/down counter 731_3.

The first latch 731_1 performs a set/reset operation in response to a normal clock signal NOR_CLK and the first comparison signal VL_OUT to thereby output an up counting signal NOR_UP, and the second latch 731_2 performs a set/reset operation in response to the normal clock signal NOR_CLK the second comparison signal VH_OUT to thereby output a down counting signal NOR_DOWN. The up/down counter 731_3 performs a counting operation onto the initial counting value which is defined by the output signal of the second counting unit 732 in response to the mode selection signal MOD_SEL to thereby output a normal operation counting value NOR_CNT<M:0>. Herein, the counting operation is performed based on the up counting signal NOR_UP and the down counting signal NOR_DOWN.

Subsequently, the second counting unit 732 performs a counting operation based on the second weight during the initial operation, and it includes an activator 732_1, an N-bit storage 732_2, and an output element 732_3.

The activator 732_1 outputs an enable signal INT_EN<M:0> to the N-bit storage 732_2 in response to the initial clock signal INT_CLK. The activator 732_1 may be formed of N AND gates receiving the enable signal INT_EN<M:0> and the initial clock signal INT_CLK, where N is a natural number and N=M+1. Herein, since the enable signal INT_EN<M:0> is sequentially enabled, the output signal of the activator 732_1 is synchronized with the initial clock signal INT_CLK and sequentially becomes enabled. The N-bit storage 732_2 stores the second comparison signal VH_OUT in response to the output signal of the activator 732_1, and it may be formed of N flip-flops. The output element 732_3 receives an output signal of the N-bit storage 732_2 and outputs an initial operation counting value INT_CNT<M:0> in response to the enable signal INT_EN<M:0>. The output element 732_3 may be formed of N OR gates receiving the enable signal INT_EN<M:0> and the output signal of the N-bit storage 732_2.

Meanwhile, the control signal generation block 740 generates a driving control signal CTR of a voltage level corresponding to the code signal REF_SEL<M:0>, and it includes a voltage dividing unit 741 and a control signal output unit 742.

The voltage dividing unit 741 divides an internal reference voltage VREF into a plurality of divided voltages, and outputs a divided voltage corresponding to the code signal REF_SEL<M:0> among the plurality of divided voltages as a target reference voltage TREF. The control signal output unit 742 outputs a driving control signal CTR of a voltage level corresponding to the target reference voltage TREF.

FIG. 8 illustrates a voltage dividing unit 741 shown in FIG. 7.

Referring to FIG. 8, the voltage dividing unit 741 includes a voltage divider 810 and a selection output element 820.

The voltage divider 810 divides an internal reference voltage VREF into a plurality of divided voltages V0, V1, . . . , V2 ^(N)−1, and it may be formed of a plurality of resistors R serially connected between the internal reference voltage VREF and a ground voltage terminal VSS.

The selection output element 820 selects a divided voltage among the plurality of divided voltages V0, V1, . . . , V2 ^(N)−1 based on the code signal REF_SEL<M:0> and outputs the selected divided voltage as a target reference voltage TREF. The selection output element 820 may be formed of decoders that can selectively output the plurality of divided voltages V0, V1, . . . , V2 ^(N)−1 in response to N code signals REF_SEL<M:0> and a multiplexer (MUX).

Referring back to FIG. 7, the control signal output unit 742 of the control signal generation block 740 outputs a driving control signal CTR of a voltage level corresponding to the target reference voltage TREF, which is outputted from the voltage dividing unit 741. The control signal output unit 742 includes a third voltage comparator 742_1 and a feedback element 742_2.

The third voltage comparator 742_1 compares a feedback voltage VFED with the target reference voltage TREF to thereby generate a driving control signal CTR. The driving control signal CTR has a voltage level corresponding to a voltage level difference between the feedback voltage VFED and the target reference voltage TREF.

The feedback element 742_2 generates the feedback voltage VFED in response to the driving control signal CTR. The feedback element 742_2 may include NMOS transistors serially coupled and receiving the driving control signal CTR and a bias voltage VBIA through a gate and a resistor serially coupled with the NMOS transistors. Particularly, the NMOS transistors of the feedback element 742_2 may be formed of a replica circuit modeling the variable current generation unit IS of the waveform generation block 710.

Meanwhile, the pulse generation block 750 generates a pulse signal PUL enabled corresponding to a period of the sawtooth waveform signal S_OUT. The generated pulse signal PUL is also inputted to the up/down counter 731_3, which controls a counting operation in the normal operation period in response to the pulse signal PUL.

FIG. 9 is a timing diagram describing a circuit operation of an up/down counter 731_3 shown in FIG. 7. For the sake of convenience in description, it is assumed that the initial counting value outputted from the second counting unit 732 is ‘b 7.’

Referring to FIGS. 7 and 9, the up/down counter 731_3 is reset in response to a reset signal RST, and the normal operation counting value NOR_CNT<M:0> outputted from the output element Y<M:0> is reset at ‘0.’ Subsequently, the up/down counter 731_3 loads the initial counting value ‘7’ in response to the mode selection signal MOD_SEL which is inputted to a loading control terminal LD, and performs an up counting operation or a down counting operation based on an up counting signal NOR_UP, a down counting signal NOR_DN, and the pulse signal PUL inputted to an up counting control terminal UP, a down counting control terminal DN, and a clock input terminal CK, respectively. In other words, the normal operation counting value NOR_CNT<M:0> is increased according to the up counting operation, and decreased according to the down counting operation. The first weight described before signifies a variation value of the normal operation counting value NOR_CNT<M:0>.

Meanwhile, one embodiment of the present invention includes an initial operation period and a normal operation period. In the initial operation period, a counting operation is performed based on a second weight in order to quickly generate a desired sawtooth waveform signal S_OUT. On the other hand, in the normal operation period, a counting operation is performed based on a first weight in order to uniformly maintain the generated sawtooth waveform signal S_OUT.

FIG. 10 is a waveform diagram describing a counting operation in the initial operation period and a normal operation period of the waveform generation circuit shown in FIG. 7. Herein, it is assumed that when a sawtooth waveform signal S_OUT has a voltage level between a first reference voltage VL_REF and a second reference voltage VH_REF at a predetermined time, a sawtooth waveform signal S_OUT of a desired waveform is generated. In other words, it is regarded that when the highest voltage level of a sawtooth waveform signal S_OUT is between the first reference voltage VL_REF and the second reference voltage VH_REF, a sawtooth waveform signal S_OUT of a desired waveform is generated. Herein, the second reference voltage VH_REF is illustrated to correspond to FIGS. 5 and 6.

Referring to FIGS. 7 and 10, in the initial operation period, control is performed to quickly form a slope targeted by the sawtooth waveform signal S_OUT based on the second weight. As illustrated in the drawing, the initial slope of the sawtooth waveform signal S_OUT is quickly increased to thereby generate the desired slope waveform. In the embodiment of the present invention, a change occurring during a process is reflected into the sawtooth waveform signal S_OUT during the initial operation period to thereby quickly correct the slope.

Subsequently, in the normal operation period, control is performed to maintain the sawtooth waveform signal S_OUT of a desired waveform based on the first weight in the normal operation period. As illustrated in the drawing, when the waveform of the sawtooth waveform signal S_OUT goes out of the desired waveform, that is, when the highest voltage level of the sawtooth waveform signal S_OUT is lower than the first reference voltage VL_REF, or when the highest voltage level of the sawtooth waveform signal S_OUT is higher than the second reference voltage VH_REF, control is performed delicately to thereby maintain the sawtooth waveform signal S_OUT in the desired waveform. In this embodiment of the present invention, a change according to temperature, voltage and the like is reflected into the sawtooth waveform signal S_OUT in the normal operation period and the slope of the sawtooth waveform signal S_OUT is delicately corrected.

FIG. 11 is a substantial timing diagram describing the initial operation period according to the structure illustrated in FIG. 7. Herein, the initial operation period is defined as a period where the mode selection signal MOD_SEL is logic low.

Referring to FIGS. 7 and 11, the N-bit storage 732_2 is reset in response to a reset signal RST. Subsequently, the N-bit storage 732_2 sequentially stores second comparison signals VH_OUT based on the enable signals INT_EN<M:0> sequentially enabled and the initial clock signal INT_CLK. The stored values become the output signals OUT<M:0> of the N-bit storage 732_2. Herein, an output signal OUT<M:0> of the N-bit storage 732_2 is determined based on the voltage level of the sawtooth waveform signal S_OUT and the second reference voltage VH_REF. To be specific, when the voltage level of the sawtooth waveform signal S_OUT is lower than the second reference voltage VH_REF ({circle around (1)} and {circle around (3)}), an output signal OUT<M> and an output signal OUT<M-2> are outputted to be logic high among the output signals OUT<M:0> of the N-bit storage 732_2. When the voltage level of the sawtooth waveform signal S_OUT is higher than the second reference voltage VH_REF ({circle around (2)}), an output signal OUT<M-1> is outputted to be logic low among the output signals OUT<M:0> of the N-bit storage 732_2. Through this process, the code value of the code signal REF_SEL<M:0> is sequentially determined and after all, it is possible to quickly form a desired waveform {circle around (4)} for the sawtooth waveform signal S_OUT.

Herein, when it is assumed that the output signal OUT<M:0> of the N-bit storage 732_2 is a code, it may be considered that the output signal OUT<M:0> performs a counting operation while changing the digit number based on the enable signal INT_EN<M:0> which is sequentially enabled. This counting operation is performed based on the second weight.

Meanwhile, the output signals OUT<M:0> of the N-bit storage 732_2 which is generated through the counting operation is outputted as an initial operation counting value INT_CNT<M:0>, and it is outputted as a code signal REF_SEL<M:0> through the selection output unit 733. Subsequently, the target reference voltage TREF has a voltage level corresponding to the code signal REF_SEL<M:0>, and the slope of the sawtooth waveform signal S_OUT is controlled based on the driving control signal CTR corresponding to the target reference voltage TREF. To sum up, the waveform generation circuit fabricated according to one embodiment of the present invention can quickly generate the sawtooth waveform signal S_OUT of the waveform {circle around (4)} based on the code signal OUT<M:0> finally outputted in the initial operation period.

FIG. 12 is a timing diagram describing a normal operation period according to the structure illustrated in FIG. 7. Herein, a normal operation period is defined as a period where the mode selection signal MOD_SEL is logic high. In the normal operation period after the initial operation period, a counting operation is performed by using the code signal OUT_(<)M:0> finally outputted in the initial operation period as an initial counting value. Herein, a signal VH_OUTB obtained by inverting the second comparison signal VH_OUT will be still referred to as the same name, which is a second comparison signal VH_OUTB, for the sake of convenience in description.

First, the first latch 731_1 and the second latch 731_2 perform a set/reset operation in response to a first comparison signal VL_OUT, a second comparison signal VH_OUTB, and a normal clock signal NOR_CLK to thereby generates an up counting signal NOR_UP and a down counting signal NOR_DN. Subsequently, the up/down counter 731_3 performs a counting operation onto the initial counting value in response to the up counting signal NOR_UP and the down counting signal NOR_DN. Herein, it is assumed for the sake of convenience that the initial counting value is ‘7’ To be specific, the up counting operation or the down counting operation are performed on the normal operation counting value NOR_CNT<M:0> outputted from the up/down counter 731_3 from the initial counting value ‘7.’ The normal operation counting value NOR_CNT<M:0> is outputted as the code signal REF_SEL<M:0> through the selection output unit 733. The target reference voltage TREF has a voltage level corresponding to the code signal REF_SEL<M:0>, and the slope of the sawtooth waveform signal S_OUT is controlled based on the driving control signal CTR which corresponds to the target reference voltage TREF. In short, the waveform generation circuit fabricated according to one embodiment of the present invention can perform a control to make the voltage level of the sawtooth waveform signal S_OUT fall between the first reference voltage VL_REF and the second reference voltage VH_REF.

FIG. 13 is a schematic diagram illustrating an alternative for waveform generation block 710 shown in FIG. 7.

Referring to FIG. 13, the waveform generation block includes a resistor R for receiving a driving control signal CTR, a voltage comparison unit 1310 having one input coupled to resistor R, one input connected to a discharge terminal V_GND and an output generating a sawtooth waveform signal S_OUT, a charging unit C coupled between the resistor R and an output terminal of the voltage comparison unit 1310, and a switching unit SW coupled with the charging unit C in parallel. Voltage comparison unit 1310 compares the voltage values at its inputs to generate the sawtooth waveform signal S_OUT as charging unit C charges. Herein, the switching unit SW performs a switching operation in response to a pulse signal PUL which is the same as the pulse signal PUL shown in FIG. 7. Just as in the embodiment shown in FIG. 7, the sawtooth waveform signal S_OUT is generated corresponding to the period of the pulse signal PUL in the embodiment shown in FIG. 13. The slope of the generated sawtooth waveform signal S_OUT is also defined by the voltage level of the driving control signal CTR.

The waveform generation circuit fabricated according to one embodiment of the present invention, which is described above, can compensate a waveform signal for environmental factors that are reflected into a circuit. Also, in order to efficiently control the compensation operation, a counting operation is performed using a different weight in the initial operation period and the normal operation period, individually. Through this process, the time taken for generating and maintaining a waveform signal of a desired waveform can be minimized.

According to one embodiment of the present invention, it is possible to generate waveform signals of a uniform waveform all the time although environmental factors reflected into a circuit may be changed.

Also, the technology of the present invention can minimize the time taken for generating and maintaining waveform signals of a desired waveform.

While the present invention has been described with respect to the specific embodiments, it will be apparent to those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims. 

1. A waveform generation circuit, comprising: a waveform generation block configured to generate a waveform signal corresponding to a driving control signal; and a control signal generation block configured to generate the driving control signal for compensating the waveform signal for an environmental factor affecting the waveform generation circuit.
 2. The waveform generation circuit of claim 1, wherein the control signal generation block receives feedback from the waveform signal.
 3. The waveform generation circuit of claim 1, wherein the waveform signal has a slope corresponding to the driving control signal.
 4. The waveform generation circuit of claim 1, wherein the waveform signal has a sawtooth waveform.
 5. The waveform generation circuit of claim 1, wherein the waveform generation block comprises: a variable current generation unit configured to generate a current corresponding to the driving control signal; a charging unit configured to be charged with the current generated in the variable current generation unit; and a discharging unit configured to discharge the charging unit.
 6. The waveform generation circuit of claim 1, wherein the waveform generation block comprises: a voltage comparison unit having a first input coupled to the driving control signal, and a second input coupled to a discharge terminal; a charging unit configured to be coupled between an output terminal and the first input terminal of the voltage comparison unit; and a switching unit configured to be coupled with the charging unit in parallel and perform a switching operation at a predetermined period, the voltage comparison unit being configured to generate the waveform signal by comparing voltage levels at the first input and the second input.
 7. The waveform generation circuit of claim 1, further comprising: a pulse generation block configured to generate a pulse signal enabled corresponding to the period of the waveform signal and input the generated pulse signal into the waveform generation block.
 8. A waveform generation circuit, comprising: a waveform generation block configured to generate a waveform signal corresponding to a driving current; a voltage comparison block configured to compare a voltage level of the waveform signal with a reference voltage defined based on a target voltage level of the waveform signal; and a driving current control block configured to generate a driving control signal corresponding to an output signal of the voltage comparison block and control the driving current based on the driving control signal.
 9. The waveform generation circuit of claim 8, wherein the waveform signal has a slope corresponding to the driving control signal.
 10. The waveform generation circuit of claim 8, wherein the waveform signal has a sawtooth waveform.
 11. The waveform generation circuit of claim 8, wherein the voltage comparison block comprises: a first voltage comparison unit configured to compare a voltage level of the waveform signal with a first reference voltage to thereby output a first comparison signal; and a second voltage comparison unit configured to compare a voltage level of the waveform signal with a second reference voltage to thereby output a second comparison signal.
 12. The waveform generation circuit of claim 11, wherein the first reference voltage corresponds to a voltage level lower than the target voltage level, and the second reference voltage corresponds to a voltage level higher than the target voltage level.
 13. The waveform generation circuit of claim 11, wherein a current amount of the driving current increases in response to the first comparison signal, and decreases in response to the second comparison signal.
 14. The waveform generation circuit of claim 8, wherein the waveform generation block comprises: a variable current generation unit configured to generate the driving current corresponding to the voltage level of the driving control signal; a charging unit configured to be charged with the driving current generated in the variable current generation unit; and a discharging unit configured to discharge the charging unit.
 15. The waveform generation circuit of claim 8, wherein the waveform generation block comprises: a voltage comparison unit having a first input coupled to the driving control signal and a second input coupled to a discharge terminal; a charging unit configured to be coupled between an output terminal and the first input terminal of the voltage comparison unit; and a switching unit configured to be coupled with the charging unit in parallel and perform a switching operation, the voltage comparison unit being configured to generate the waveform signal by comparing voltage levels at the first input and the second input.
 16. The waveform generation circuit of claim 8, further comprising: a pulse generation block configured to generate a pulse signal enabled corresponding to a period of the waveform signal and input the generated pulse signal into the waveform generation block.
 17. A waveform generation circuit, comprising: a waveform generation block configured to generate a waveform signal corresponding to a driving control signal; a comparison signal generation block configured to generate a comparison signal by comparing a voltage level of the waveform signal with a reference voltage defined based on a target voltage level of the waveform signal; a code signal generation block configured to generate a code signal reflecting a weight corresponding to an initial operation period or a normal operation period in response to the comparison signal; and a control signal generation block configured to generate the driving control signal corresponding to the code signal.
 18. The waveform generation circuit of claim 17, wherein the waveform signal has a sawtooth waveform.
 19. The waveform generation circuit of claim 17, wherein the waveform signal has a slope corresponding to the driving control signal.
 20. The waveform generation circuit of claim 17, wherein the comparison signal generation block comprises: a first voltage comparison unit configured to compare a voltage level of the waveform signal with a first reference voltage to thereby output a first comparison signal; and a second voltage comparison unit configured to compare a voltage level of the waveform signal with a second reference voltage to thereby output a second comparison signal.
 21. The waveform generation circuit of claim 20, wherein the first reference voltage corresponds to a voltage level lower than the target voltage level, and the second reference voltage corresponds to a voltage level higher than the target voltage level.
 22. The waveform generation circuit of claim 20, wherein the code signal generation block comprises: a first counting unit configured to perform a counting operation based on a first weight in response to the first comparison signal in the normal operation period; a second counting unit configured to perform a counting operation based on a second weight in response to the second comparison signal in the initial operation period; and a selection output unit configured to output an output signal of the first counting unit or the second counting unit as the code signal based on the initial operation period or the normal operation period.
 23. The waveform generation circuit of claim 22, wherein the second weight is greater than the first weight.
 24. The waveform generation circuit of claim 22, wherein the first counting unit performs a counting operation by using an output signal of the second counting unit determined in the initial operation period as an initial counting value.
 25. The waveform generation circuit of claim 22, wherein the first counting unit comprises: a first latch configured to be set/reset in response to a normal clock signal and the first comparison signal; a second latch configured to be set/reset in response to the normal clock signal and the second comparison signal; and an up/down counter configured to perform a counting operation from the determined initial counting value in response to output signals of the first latch and the second latch.
 26. The waveform generation circuit of claim 22, wherein the second counting unit includes: an activator configured to output an enable signal sequentially enabled in response to an initial clock signal; a storage configured to store the second comparison signal in response to an output signal of the activator; and an output element configured to output an output signal of the storage in response to the enable signal.
 27. The waveform generation circuit of claim 17, wherein the control signal generation block comprises: a voltage dividing unit configured to divide an internal reference voltage into a plurality of divided voltages and output a divided voltage corresponding to the code signal among the plurality of divided voltages; and a control signal output unit configured to output the driving control signal of a voltage level corresponding to the divided voltage.
 28. The waveform generation circuit of claim 27, wherein the voltage dividing unit comprises: a voltage divider configured to divide the internal reference voltage into the plurality of divided voltages; and a selection output element configured to selectively output one of the plurality of divided voltages based on the code signal.
 29. The waveform generation circuit of claim 27, wherein the control signal output unit comprises: a voltage comparator configured to compare a feedback voltage with an output signal of the voltage dividing unit to thereby output the driving control signal; and a feedback element configured to generate the feedback voltage in response to an output signal of the voltage comparator.
 30. The waveform generation circuit of claim 29, wherein the waveform generation block comprises: a variable current generation unit configured to generate a current corresponding to the driving control signal; a charging unit configured to be charged with the current generated in the variable current generation unit; and a discharging unit configured to discharge the charging unit at a predetermined period.
 31. The waveform generation circuit of claim 30, wherein the feedback element is a replica circuit modeling the variable current generation unit.
 32. The waveform generation circuit of claim 17, wherein the waveform generation block comprises: a voltage comparison unit having a first input coupled to the driving control signal, and a second input coupled to a discharge terminal; a charging unit configured to be coupled between an output terminal and the first input terminal of the voltage comparison unit; and a switching unit configured to be coupled with the charging unit in parallel and perform a switching operation at a predetermined period, the voltage comparison unit being configured to generate the waveform signal by comparing voltage levels at the first input and the second input. cm
 30. The waveform generation circuit of claim 17, further comprising: a pulse generation block configured to generate a pulse signal enabled corresponding to the period of the waveform signal and input the generated pulse signal into the waveform generation block. 